/**
 * 
 */
package herguan.expertadvise.web.struts.form;

/**
 * @author Nidhi Pandya
 *
 */
import javax.servlet.http.HttpServletRequest;

import org.apache.struts.action.*;

public class UserLoginForm extends ActionForm {

	private String action = "add";
	private String userid = null;
	private String password = null;

	public void reset(ActionMapping mapping, HttpServletRequest request) {
		this.userid = null;
		this.password = null;
		this.action = "add";
	}

	public ActionErrors validate(ActionMapping mapping,
			HttpServletRequest request) {
		ActionErrors errors = new ActionErrors();

		return errors;
	}

	public String getAction() {
		return action;
	}

	public void setAction(String action) {
		this.action = action;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getUserid() {
		return userid;
	}
	
	
	public void setUserid(String userid) {
		this.userid = userid;
	}

}
